package com.example.music.service.impl;

import com.example.music.domain.IogInformation;
import com.example.music.mapper.IogInformationMapper;
import com.example.music.service.IIogInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IogInformationServiceImpl implements IIogInformationService {
    @Autowired
    private IogInformationMapper iogInformationMapper;

    public List<IogInformation> getIogInformation(){
        return iogInformationMapper.getIogInformation();
    }
    public IogInformation selectIogInformationById(Long id){
        return iogInformationMapper.selectIogInformationById(id);
    }
    public int insertIogInformation(IogInformation iogInformation){
        return iogInformationMapper.insertIogInformation(iogInformation);
    }
    public int updateIogInformation(IogInformation iogInformation){
        return iogInformationMapper.updateIogInformation(iogInformation);
    }
    public int deleteIogInformationById(Long id){
        return iogInformationMapper.deleteIogInformationById(id);
    }
}
